function get(url,taid,obj) {
var getstr = "&";
for (i=0; i<obj.childNodes.length; i++) {
if (obj.childNodes[i].tagName == "TEXTAREA") {
getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";
}
if (obj.childNodes[i].tagName == "INPUT") {
if (obj.childNodes[i].type == "text") {getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";}
if (obj.childNodes[i].type == "password") {getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";}
if (obj.childNodes[i].type == "hidden") {getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";}
if (obj.childNodes[i].type == "checkbox") {
if (obj.childNodes[i].checked) {getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";}
else {getstr += obj.childNodes[i].name + "=&";}
}
if (obj.childNodes[i].type == "radio") {if (obj.childNodes[i].checked) {               getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";}}}if (obj.childNodes[i].tagName == "SELECT") {var sel = obj.childNodes[i];getstr += sel.name + "=" + sel.options[sel.selectedIndex].value + "&";}}getstr = getstr.replace(/\s+/g," ");getstr = getstr.replace(/ /g, "+");//alert(getstr,url,taid); 
scriptmeUpdateDiv(url,taid,getstr);}


var gCurrentCallID;
function scriptmeUpdateDiv(url,target,value) {
document.getElementById(target).innerHTML= " Please wait ...";
var dTimeStamp = new Date();
gCurrentCallID = dTimeStamp.getTime();
var sURL = url + "?target=" + target + "&value=" + value + "&callid=" + gCurrentCallID;
var script=document.getElementById('script_' + target);
  if (script) script.parentNode.removeChild(script);
  script=document.createElement('SCRIPT');
  script.id='script_' + target;
  script.src=sURL;
  var head=document.getElementsByTagName('HEAD')[0];
  head.appendChild(script);
}